﻿<%namespace YouHP.Model%>
<%namespace YouHP.Utility%>
<%template _header%>

<div class="layout-cols2">
	
	<div class="col1">
	
		    <%csharp%>if( IsPost){ <%/csharp%>
	    
	    <%template _MsgBox%>
	    
	    <%csharp%> } else { <%/csharp%>
	    
	    <div class="box">
	        <div class="caption">
	            添加回复
	        </div>
	        <div class="content">
	            <br />
	            <form id="replyform" name="replyform" method="post" action="">
	                <input type="hidden" name="tid" value={LogTopicData.Id} />
	             <table class="table-box" width="100%">
	                <col style="width:60px" />
	                <tbody>
	                <tr>
                        <td>标题：</td>
	                    <td>
	                        <input type="text" size="60" class="inputstyle" readonly="true"
	                                value="回复: {LogTopicData.Title}"
	                        />
	                        &nbsp;&nbsp;
	                    </td>
	                 </tr>
	                     
	                 <tr valign="top">
                         <td>内容：</td>
                         <td>
                            <textarea id="rbody" name="rbody" cols="115" rows="30" >
                            </textarea><br />
                            <span>内容长度必须在{Config.ReplyMinSize}-{Config.ReplyMaxSize}之间</span>
	                     </td>
    	            </tr>
    	            <tr>
    	                <td></td>
    	                <td> 
    	                    <span class="btn-min">
	                            <a href="#" onclick="CheckForm();">提交</a>
                            </span>
                        </td>
    	            </tr>   
	                </tbody>
	                </table>             
	            </form>
	            <script type="text/javascript">
	                function CheckForm()
	                {
	                    _$('replyform').submit();
	                }
	            </script>
	            <br />
	        </div>
	    </div>
	    
	    <%csharp%> } <%/csharp%>
	</div>
		
	<div class="col2">
	    
	    
	</div>
	
</div>

<%template _footer%>